package com.dataseek.iot.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

@Data
@TableName(value = "tenant.sys_factory")
public class Factory extends BaseEntity {

    @TableField(value = "tenant_code")
    private String tenantCode;

    @TableId(value = "factory_id", type = IdType.AUTO)
    private Long factoryId;

    @TableField(value = "factory_code")
    private String factoryCode;

    @TableField(value = "factory_name")
    private String factoryName;

    @TableField(value = "factory_address")
    private String factoryAddress;

    @TableField(value = "factory_location")
    private String factoryLocation;

    @TableField(value = "factory_tel")
    private String factoryTel;

    @TableField(value = "factory_level")
    private String factoryLevel;

    @TableField(value = "factory_leader")
    private String factoryLeader;

    @TableField(value = "open")
    private String open;
}
